# -*- coding:utf-8 -*-

'''
PROJECT_NAME : python_高级
file    : web_service
author  : 1032162439@qq.com
date    : 2022-11-14 14:38
IDE     : PyCharm
'''
import time

from flask import Flask

app = Flask(__name__)


@app.route('/')
def index():
    time.sleep(1)
    return "hello world"


if __name__ == '__main__':
    app.run(debug=True, port=9999, host='0.0.0.0')
